<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="../common/jspcommon.jsp"%>
<script type="text/javascript">
<!--

	function wytx(){
		if(GUOGUO.checkLogin()){
			$.post("/account/woyaotixian.htm",function(data){
				if(data == "xiaoyu50"){
					alert("您的现金不足50，还不能提现！");
				}else if("avatar email" == data){
					alert("您还没有上传头像或验证邮箱！");
				}else if(data == "success"){
					$("#w_y_t_x").load("/account/openwytx.htm");
				}else{
					alert("系统有点抽经，请稍候重试！");
				}
			});
		}else{
			GUOGUO.memberLogin();
		}
	}
	
//-->
</script>

<div class="form_box">
   	<div class="title">
       	<h3><b class="icon_triangle_s1"></b><span class="tit">我的存钱罐</span></h3>
       </div>
       <table class="form_table">
       	<tbody>
       		<tr>
               	<td class="col1 td_bg">
                   	账户种类：
                   </td>
                   <td class="col2">现金</td>
                   <td class="col3 td_bg">账户余额：</td>
                   <td class="col4">
                  	${account.rmb}元
                   </td>
               </tr>
               <tr>
               	<td class="col1 td_bg">
                   	会员ID：
                   </td>
                   <td class="col2">${memberId}</td>
                   <td class="col3 td_bg">可提现金：</td>
                   <td class="col4">${account.rmb}元
                   		<a href="javascript:void(0);" id="wytxb" <c:if test="${applys==0 }">onclick="wytx()"</c:if> class="def_btn_s9<c:if test="${applys>0 }"> disabled</c:if>">我要提现</a>
                   </td>
               </tr>
               <tr>
               	<td class="col1 td_bg">
                   	备注：
                   </td>
                   <td colspan="3"><span class="mark">账户余额满50元整数倍才可提款，如50元、100元、150元等。</span></td>
               </tr>
           </tbody>
       </table>
</div>
<div id="w_y_t_x"></div>